//
//  SN_ReadMore_TableHeaderView.h
//  Shiyun_Newspaper
//
//  Created by zz on 17/6/19.
//  Copyright © 2017年 ShiYun. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SN_QuesList.h"

#define SN_ReadMore_TableHeaderHeight 43

@protocol SN_ReadMore_TableHeaderViewDelegate <NSObject>

//打开
- (void)openActionWithSection:(NSInteger)section;

//关闭
- (void)closeActionWithSection:(NSInteger)section;

@end


@interface SN_ReadMore_TableHeaderView : UIView

/**标题*/
@property (nonatomic, strong) UILabel *titleLabel;

/**状态按钮*/
@property (nonatomic, strong) UIButton *tableStateBtn;

/**分隔横线*/
@property (nonatomic, copy) UIView *lineView;

@property (nonatomic, weak) id <SN_ReadMore_TableHeaderViewDelegate> delegate;


@property (nonatomic, assign) NSInteger section;

/**模型*/
@property (nonatomic, strong) SN_QuesList *sectionModel;

@end
